<template>
    <div id="footer-tab">
        <router-link to="/home" tag="a" class="home-footer">
            <i class="fa fa-home"></i>
            <span>home</span>
        </router-link>
        <router-link to="/cinema" tag="a" class="cinema-footer">
            <i class="fa fa-film"></i>
            <span>cinema</span>
        </router-link>
        <router-link to="/cartoon" tag="a" class="cartoon-footer">
            <i class="fa fa-book"></i>
            <span>cartoon</span>
        </router-link>
        <router-link to="/mine" tag="a" class="mine-footer">
            <i class="fa fa-user"></i>
            <span>mine</span>
        </router-link>
    </div>
</template>

<style scoped>
#footer-tab {
    position: fixed;
    bottom: -1px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
	max-width: 768px;
    height: 50px;
    line-height: 50px;
	margin: auto;
    text-align: center;
    background-color: #b4b2b2;
    box-shadow: 0 -2px 3px #696969;
    z-index: 50;
}

#footer-tab .home-footer,
#footer-tab .cinema-footer,
#footer-tab .cartoon-footer,
#footer-tab .mine-footer {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex: 1;
    height: 50px;
    line-height: 14px;
    padding: 10px 0;
    border-right: 1px solid #3f3e3e;
    font-size: 15px;
    color: #1e8100;
}
#footer-tab .mine-footer {
    border-right: none;
}
#footer-tab .home-footer:hover,
#footer-tab .cinema-footer:hover,
#footer-tab .cartoon-footer:hover,
#footer-tab .mine-footer:hover {
    cursor: pointer;
    background-color: #838282;
}
#footer-tab .router-link-active {
    color: #eb2b2b;
    background-color: #f7b96d;
}
</style>